<template>
  <div class="goods">
    <goods-list-item v-for="item in goods" :goodsItem="item" class="goods-item"/>
  </div>
</template>

<script>
import GoodsListItem from './GoodsListItem.vue';
export default {
  components: { GoodsListItem },
  props: {
    goods: {
      type: Array,
      defalut() {
        return []
      }
    }
  }
}
</script>
<style scoped>
.goods {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

</style>